<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/head.jsp"%>
<link href="${pageContext.request.contextPath}/common/ec/css/ecside_style.css" rel=stylesheet>
</head>
<body class="mainBody">
<form method="post" name="myform" id="myform">
<input type="hidden" id="ctxpath" name="ctxpath" value="${ctxpath}">
<table border="0" cellpadding="0" cellspacing="0" class="formTable">
    <tr class="tableTitleTR2">
        <td colspan="3">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="47" class="tableTitleLeft2">&#160;</td>
                    <td class="tableTitle2">标题</td>
                    <td width="33" class="tableTitleRight2">&#160;</td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td class="formTableL">&#160;</td>
        <td width="100%" class="formTableC">
            <table align="center" border="0" cellpadding="0" cellspacing="2" class="formTableCore">
                <tr>
                    <td class="formLabel">文本</td>
                    <td class="formField">
                        <input type="text" name="workNo" id="workNo" value="">
                    </td>
                    <td class="formLabel">下拉框</td>
                    <td class="formField">
                        <input type="text" name="menuName" id="menuName" value="">
                    </td>
                    <td class="formLabel">单选</td>
                    <td class="formField">
                        <input type="radio" name="rSel1" id="rSel1" class="radio" value="">选择1
                        <input type="radio" name="rSel2" id="rSel2" class="radio" value="">选择2
                    </td>
                </tr>
            </table>
        </td>
        <td class="formTableR">&#160;</td>
    </tr>
    <tr>
        <td class="formTableL">&#160;</td>
        <td width="100%" class="formTableC">
            <div class="ecSide"  style="width:100%;" style="overflow-y:auto; height:100%">
            <table border="0" cellspacing="0" cellpadding="0" class="tableRegion" width="100%">
                <tr>
                    <td class="tableHeader" width="20%">列名</td>
                    <td class="tableHeader" width="15%">类型</td>
                    <td class="tableHeader" width="30%">默认值</td>
                    <td class="tableHeader" width="35%">备注</td>
                </tr>
                <c:if test="${!empty dataList}">
                    <c:forEach var="item" items="${dataList}" varStatus="sta">
                        <tr onclick="selectRowClk(this)" <c:if test="${sta.index%2 == 1}">class="even"</c:if> <c:if test="${sta.index%2 != 1}">class="odd"</c:if> style="cursor:hand;">
                            <td>${item.columnName}</td>
                            <td>${item.dataType}</td>
                            <td>${item.dataDefault}</td>
                            <td>${item.comments}</td>
                        </tr>
                    </c:forEach>
                </c:if>
            </table>
            </div>
        </td>
        <td class="formTableR">&#160;</td>
    </tr>
    <tr>
        <td class="formTableLB"></td>
        <td class="formTableB"></td>
        <td class="formTableRB"></td>
    </tr>
</table>
</form>
</body>
</html>
